package com.fan.springboot1903fanjianghao.bean;

/**
 * ZixiaFan
 * 2021/11/15 14:04
 */
public class User {
    private Integer id;
    private String username;
    private String password;
    private String createtime;
    private String errortime;
    private Integer errorcount;

    private int stateCode;//状态码
    private String state;//状态

    public User() {
    }

    public User(Integer id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public User(Integer id, String username, String password, String createtime, String errortime, Integer errorcount) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.createtime = createtime;
        this.errortime = errortime;
        this.errorcount = errorcount;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String userName) {
        this.username = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String passWord) {
        this.password = passWord;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getErrortime() {
        return errortime;
    }

    public void setErrortime(String errortime) {
        this.errortime = errortime;
    }

    public Integer getErrorcount() {
        return errorcount;
    }

    public void setErrorcount(Integer errorcount) {
        this.errorcount = errorcount;
    }

    public int getStateCode() {
        return stateCode;
    }

    public void setStateCode(int stateCode) {
        this.stateCode = stateCode;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", createtime='" + createtime + '\'' +
                ", errortime='" + errortime + '\'' +
                ", errorcount=" + errorcount +
                ", stateCode=" + stateCode +
                ", state='" + state + '\'' +
                '}';
    }
}
